<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@include file="/page/common/public.jspf"%>
<script src="${path }/js/member/modifyToPartner.js?v=${v}"></script>
<script src="${path }/js/member/open.js?v=${v}"></script>
<script src="${path }/js/member/bindCard.js?v=${v}"></script>
<div class="header-top">
<div class="wrapper">
	<div class="follow">
	 	  <ul>
	 	  	<li><a class="follow-moblie"></a><span class="r">手机版</span></li>
	 	  	<li><a class="follow-weibo"></a></li>
	 	  	<li><a class="follow-wechat"></a></li>
	 	  </ul>
	</div>
<ul class="site_link site_link2 r">
	<c:if test="${empty usersession}">
	<!-- 未登陆 -->
	<li>您好，欢迎来到一起发！</li>
	<c:set var="re">${path }<m:xml key="page.register.url"/></c:set>
	<c:set var="login">${path }<m:xml key="page.login.url"/></c:set>
	<li><a href="${login} " target="_self" class="d_blue">请登录11</a><s class="vertical_line"></s></li>
	<li><a href="${path }/page/register/step_one_register.jsp" target="_self" class="orange">免费注册</a><s class="vertical_line"></s></li>
	</c:if>
	
<c:if test="${not empty usersession}">
<!-- 已登陆 -->
<c:set var="loginOut">${path }<m:xml key="page.loginout.url"/></c:set>
<li>欢迎您 ${usersession.user.userName }， 托管账号111：${usersession.user.trustAccountId } <a href="${path }/refresh.htm"><img src="${path }/images/refresh.jpg" /></a> <a href="${loginOut} ">退出</a><s class="vertical_line"></s></li>

<c:if test="${not empty usersession.user.trustAccountId }">
<li><a href="javascript:void(0)" onclick="javascript:bindCard();">绑卡</a><s class="vertical_line"></s></li>
<li><a href="javascript:void(0)" id="modifyToPartner">修改资料</a><s class="vertical_line"></s></li>
<li><a href="<%=request.getContextPath()%>/memberCenter/toImprest.htm" class="red">充值</a><s class="vertical_line"></s></li>
<li><a href="<%=request.getContextPath()%>/memberCenter/toDraw.htm" class="d_blue">提现</a><s class="vertical_line"></s></li>
</c:if>

<c:if test="${isTrust eq true}">
    <li><a href="javascript:void(0)" class="red" onclick="javascript:to_open();">开通托管账户</a><s class="vertical_line"></s></li>
</c:if>

<li class="tips_li site_li">
    <s class="vertical_line"></s>
    <a href="${path}/memberCenter/index.htm" class="tips_hd">会员中心<s class="arrow"></s></a>
    
    <div class="tips_bd">
        <ul class="lottery_box">             
		<%--<li><a href="${path}/borrowInfo/myBorrowInfoList.htm">融资记录</a></li> --%>
			<li><a href="${path}/memberCenter/index.htm">我的账户</a></li>
			<li><a href="${path}/borrowInfo/myBorrowInfoList.htm">融资记录 </a></li>
			<li><a href="${path}/investInfo/myInvestList.htm">投资记录 </a></li>
			<li><a href="${path}/memberCenter/toPersonSet.htm">个人设置</a></li>
        </ul>
    </div>
    
</li>
</c:if>


<script type="text/javascript">
$(function(){
$(".site_li").mouseover(function(){
$(".site_li .tips_hd").addClass("hover");
$(".site_li .tips_bd").show();
});

$(".site_li").mouseout(function(){
$(".site_li .tips_hd").removeClass("hover");
$(".site_li .tips_bd").hide();
});
});
</script>
	<!-- <li><a href="javascript:void(0)" target="_blank">新手引导</a><s class="vertical_line"></s></li> -->
	<li><a href="${path }/page/help/">帮助中心</a></li>
</ul>	
</div>                
</div>